package com.teen9g.PageQueryDTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class PlaygroundPageQueryDTO implements Serializable {
    private String contentTitle; //内容标题 DTO
    private String contentCategory; //内容分类 DTO
    private String contentPrice; //是否需要额外消费 DTO
    private String contentAuthor; //内容作者
    private Integer pageNum;
    private Integer pageSize;
    private Integer order; //1.按创建时间升序 2.按创建时间降序
}
